home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FCE Gold Plus
/
GOLD.iso
/
pc
/
fscommand
/
Xtras
/
FileXtra4_test.dir
/
00026_Script_FolderSelect behavior
< prev
next >
Wrap
Text File
|
2002-12-20
|
575b
|
25 lines
on mouseUp me
fxObj = xtra("FileXtra4").new()
if not(objectP(fxObj)) then
WriteInfo("*** Could not instantiate FileXtra4. Is it in the Xtras folder? ***" & RETURN)
return
end if
volumeList = fxObj.fx_VolumesToList()
volumeToUse = volumeList.getAt(1)
if the platform contains "Mac" then
folderPath = fxObj.fx_FolderSelectDialog(volumeToUse)
else
end if
if folderPath <> "" then
Alert "Folder path returned is: " & folderPath
else
alert "FolderSelect dialog cancelled."
end if
fxObj = 0
end